export function orientationTips() {
    $('<div id="orientLayer-bg"></div><div class="pop-orientLayer"><div class="oimg"></div><p>为了更好的体验，请使用竖屏浏览</p></div>').appendTo('body');
	var sf = this;
	if (window.orientation === 90 || window.orientation === - 90) {
		popOrientLayer();
	}
	window.addEventListener("onorientationchange" in window ? "orientationchange": "resize", function() {
		if (window.orientation === 180 || window.orientation === 0) {
			popOrientLayerHide();
		}
		if (window.orientation === 90 || window.orientation === - 90) {
			popOrientLayer();
		}
	},
	false);

	//popOrientLayer
	function popOrientLayer() {
		$("#orientLayer-bg").show();
		$(".pop-orientLayer").show();
	}

	function popOrientLayerHide() {
		$("#orientLayer-bg").hide();
		$(".pop-orientLayer").hide();
	}
}



